﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Demo615.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <%--写一个登录页面，有用户名和密码，点击登录，跳转到登录成功页面，--%>
            用户名：<asp:TextBox ID="UserName" runat="server"></asp:TextBox><br />
            密码：<asp:TextBox ID="Password" runat="server"></asp:TextBox><br />
            <asp:Button ID="Button1" runat="server" Text="Post" PostBackUrl="~/Index.aspx"/>
            <asp:Button ID="Button2" runat="server" Text="Get" OnClick="Button2_Click"/>
        </div>
    </form>
</body>
</html>
